package com.yjy.fuyao.sta.client;


import com.yjy.fuyao.sta.client.fallback.UcenterClientFallback;
import com.yjy.fuyao.utils.result.R;
import com.yjy.fuyao.utils.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter",fallback = UcenterClientFallback.class)
public interface UcenterClient {
    @GetMapping(value = "/api/ucenter/user/countRegister/{day}")
    public R registerCount(@PathVariable String day);
}
